# -*- ecoding: utf-8 -*-
# @Author: Wick
# @Time: 2024-02-24 3:36

tuple1 = (1,2,3)
set1 = {4,5,6}
list1 = list(tuple1)+list(set1)
print(list1)

list1 = [1,2,3,4,5,6]
list1.append(7)
list1.append(0)
print(list1)

list1 =  [0,1,2,3,4,5,6,7]
list1.reverse()
print(list1)

list1 = [0,1,2,3,4,5,6,7]
list1.reverse()
len1 = len(list1)
for i in range(len1):
    if list1[i] == 5:
        print(i)
        break

